home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / Universal Headers 2.0.1f / PLStringFuncs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.2 KB  |  40 lines  |  [TEXT/MMCC]

  1. /*
  2.     PLStringFuncs.h -- C string conversion functions for pascal
  3.         
  4.     Copyright Apple Computer,Inc.  1989, 1990
  5.     All rights reserved
  6.  
  7. */
  8.  
  9. #ifndef __PLSTRINGFUNCS__
  10. #define __PLSTRINGFUNCS__
  11.  
  12. #ifndef    __TYPES__
  13. #include <Types.h>
  14. #endif
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. pascal short        PLstrcmp(ConstStr255Param str1, ConstStr255Param str2);
  21. pascal short         PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num);
  22. pascal StringPtr     PLstrcpy(StringPtr str1, ConstStr255Param str2);
  23. pascal StringPtr     PLstrncpy(StringPtr str1, ConstStr255Param str2, short num);
  24. pascal StringPtr    PLstrcat(StringPtr str1, ConstStr255Param str2);
  25. pascal StringPtr     PLstrncat(StringPtr str1, ConstStr255Param str2, short num);
  26. pascal Ptr             PLstrchr(ConstStr255Param str1, short ch1);
  27. pascal Ptr             PLstrrchr(ConstStr255Param str1, short ch1);
  28. pascal Ptr             PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2);
  29. pascal short         PLstrspn(ConstStr255Param str1, ConstStr255Param str2);
  30. pascal Ptr             PLstrstr(ConstStr255Param str1, ConstStr255Param str2);
  31. pascal short         PLstrlen(ConstStr255Param str);
  32. pascal short        PLpos(ConstStr255Param str1, ConstStr255Param str2);
  33.  
  34.  
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38.  
  39. #endif
  40.